/**
 * 👨‍💻 伟谭
 * 📅 2017/11/25
 */

#import "TWTypeListATableViewCell.h"

static BOOL isFrist;

@implementation TWTypeListATableViewCell

#pragma mark - Class method
+(void)initialize {
    [super initialize];
    isFrist = YES;
}
#pragma mark - Life cycle

#pragma mark - Override

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if(self){
        self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
 
        self.textLabel.text = @"全民推送";
        self.textLabel.font = FontL(13.0f);
        self.textLabel.textAlignment = NSTextAlignmentCenter;
 
        
        
        
        //被选中的颜色
        UIView *selectedBackgroundView = [UIView new];
        selectedBackgroundView.backgroundColor = [UIColor whiteColor];
        self.selectedBackgroundView = selectedBackgroundView;
        
       
    }
    return self;
}

-(void)setSelected:(BOOL)selected animated:(BOOL)animated {

    
    [super setSelected:selected animated:animated];
    
    if(selected){
        
        self.backgroundColor = [UIColor whiteColor];
        self.contentView.backgroundColor = [UIColor whiteColor];
        self.textLabel.textColor = [UIColor greenColor];
        
        
        
    }else{
                 
        self.contentView.backgroundColor = [UIColor clearColor];
        self.backgroundColor = [UIColor clearColor];
        self.textLabel.textColor = [UIColor blackColor];
        
    }
   
    
}

#pragma mark - Event response

#pragma mark - Protocol

#pragma mark <<#XXXDelegate#>>

#pragma mark - Public method

#pragma mark - Private method

#pragma mark - Getter & Setter

@end
